Related Vulnerabilities: CVE-2021-37936  

A security issue has been found in kibana before version 7.14.1. It was discovered that kibana was not sanitizing document fields containing html snippets. Using this vulnerability, an attacker with the ability to write documents to an elasticsearch index could inject HTML. When the Discover app highlighted a search term containing the HTML, it would be rendered for the user.

Severity Medium

Remote Yes

Type Content spoofing

Description

A security issue has been found in kibana before version 7.14.1. It was discovered that kibana was not sanitizing document fields containing html snippets. Using this vulnerability, an attacker with the ability to write documents to an elasticsearch index could inject HTML. When the Discover app highlighted a search term containing the HTML, it would be rendered for the user.

AVG-1570 kibana 7.10.2-1 Medium Vulnerable FS#70038

https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077